package com.flitsneak.designpatterns.behavioralpatterns.templatemethod;

/**
 * Author: flitsneak
 * Date: 2022/6/6 10:22
 * Description:
 */
public class ValentineDay extends BPlanTemplate{
    @Override
    protected String buyFruit() {
        System.out.println("买大连大樱桃！");
        return "买大连大樱桃！";
    }

    @Override
    protected String buyDessert() {
        System.out.println("买黑天鹅大蛋糕！");
        return "买黑天鹅大蛋糕！";
    }
}
